<?php 
$user=$session->read('User');
$companyid=$session->read("companyid");
$isflag=$action->checkPermissions($user,$companyid);
$id=$form->value('CompInstitution.id');
?>
<div class="right_side_operate_area">
	<div class="right_side_title left">
    	<h2>
		<?php 
			$companyname=$session->read("companyname");
			echo $html->link($companyname,"/companys/showinfosummary/".$companyid);
		?>
    	</h2>
    	<div class='clear'></div>
    </div>
    <div class="right back_btn">
    	<?php echo $html->link("返回","/companys/depcosts/".$_SESSION['companyid']);?>
    </div>
    <div class="right back_btn">
		<?php echo $html->link(__("Edit",true),"/companys/editstitution/".$id,null,null);?>
	</div>
	<div class="right back_btn">
		   <?php echo $html->link(__("Delete",true),"/companys/delstitution/".$id,array("onclick"=>"return doaction(this)"));?>
	</div>
    <div class="clear"></div>
</div>
<div class="right_side_scollbar">
    <div class="detail_info_panel">
		<div class="details_item_line">
			<div class="details_item">
				<div class="form_left_title left">机构名称：</div>
			   	<div class="form_right_input  left">
			    	<?php echo $form->value('CompInstitution.institution_name');?>
			    </div>
			</div>
     	</div>
     	<div class="details_item_line">
            <div class="details_item">
                <div class="form_left_title left">备注：</div>
                <div class="form_right_input left">
					<?php echo $form->value('CompInstitution.remark');?>
                </div>
            </div>
        </div>            
    </div>
</div>
<?php echo $this->element('actionconfirm',array("title"=>"删除提示","message"=>"你确定要删除吗？")) ?>